﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
	<head>
		<link rel = "stylesheet" href = "/css/base.css" type = "text/css" />
		{% block css %}
		{% endblock %}
		{% block javascript %}
		{% endblock %}
		<title>
			{% block title %}
				Dlib-MicroBlog
			{% endblock %}
		</title>
	</head>
	<body>
		<div id = "container" class = "automargin">
			<div class = "header">
				<div id = "logo">
					<h1>
					<a href = "/">
						<img src = "/image/microbloglogo.png" />
					</a>
					</h1>
				</div>
				<div id = "navigation">
					<div class = "ui-roundedbox-corner ui-roundedbox-tl">
						<div class = "ui-roundedbox-corner ui-roundedbox-tr">
							<div class = "ui-roundedbox-corner ui-roundedbox-bl">
								<div class = "ui-roundedbox-corner ui-roundedbox-br">
									<div class = "ui-roundedbox-content">
										{% block navigationlist %}
											<ul>
												<li>
													<a href = "/home">首页</a>
												</li>
												<li>
													<a href = "/search">搜索</a>
												</li>
												<li>
													<a href = "/login">登录</a>
												</li>
												<li>
													<a href = "/register">注册</a>
												</li>
											</ul>
										{% endblock %}
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>								
			</div>
			<div class = "body">
				{% block body %}
					
				{% endblock %}
			</div>
			<div class = "footer">
				<div class = "ui-roundedbox-corner ui-roundedbox-tl">
					<div class = "ui-roundedbox-corner ui-roundedbox-tr">
						<div class = "ui-roundedbox-corner ui-roundedbox-bl">
							<div class = "ui-roundedbox-corner ui-roundedbox-br">
								<div class = "ui-roundedbox-content">
									<p>&copy; 2011 dlib-microblog</p>
									<a href = "/about">关于microblog</a>
									|
									<a href = "/faq">FAQs</a>
									|
									<a href = "/help">帮助</a>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>